import { createApp } from 'vue'
import App from './App.vue'
import router from "./router/index.js";
import store from "./store/index.js";
import {LoadingPlugin} from "vue-loading-overlay";
import 'vue3-toastify/dist/index.css';
import 'vue-loading-overlay/dist/css/index.css'

// Vuetify
import 'vuetify/styles'
import { createVuetify } from 'vuetify'
import * as components from 'vuetify/components'
import * as directives from 'vuetify/directives'
import { VTreeview } from 'vuetify/labs/VTreeview'
import '@mdi/font/css/materialdesignicons.css'

const vuetify = createVuetify({
    components: {
        ...components,
        VTreeview
    },
    directives,
})



createApp(App)
    .use(router)
    .use(store)
    .use(vuetify)
    .use(LoadingPlugin)
    .mount('#app')
